package com.haopeng.eueka;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.netflix.eureka.server.EnableEurekaServer;

/**
 * spring EurekaServer(服务中心)
 * @author Administrator
 */
@EnableEurekaServer
@SpringBootApplication
public class SpringCloudEurekaApplication {

	public static void main(String[] args) {
		System.out.println("----------eureka-server 启动--------");
		SpringApplication.run(SpringCloudEurekaApplication.class, args);
	}

}
